// 用于setup访问全局变量
import { getCurrentInstance } from 'vue'

export default function getGlobalProperties () {
  const internalInstance = getCurrentInstance()
  return internalInstance?.appContext.config.globalProperties
}
